/*
 * DirectoryEntry.h
 *
 *  Created on: 26/10/2011
 *      Author: utn_so
 */

#ifndef DIRECTORYENTRY_H_
#define DIRECTORYENTRY_H_

#include "listaEntries.h"


void printEntry(directoryEntry entry);
size_t conversion(char *cast,char*utf8);
void createLongEntry(char *map, unsigned int offset,char **pname);
void createShortEntry(char *map, unsigned int offset,directoryEntry *entry);
int processEntry(char *map,NodoEntry **lst,char *name,directoryEntry* entry,unsigned char flag);
int read_directory(char disk,NodoEntry **lst,const char *path,unsigned int rootclus);
int read_entry(char disk,const char *path,unsigned int rootclus,directoryEntry *entry);

#endif /* DIRECTORYENTRY_H_ */
